import request from '@/utils/request'
let StudentApi = {
    /*获取学员列表*/
    getUserList(data, errorback) {
        return request._post('/shop/user.user/index', data, errorback);
    },
    /*添加学员*/
    addUser(data, errorback) {
        return request._postBody('/shop/user.user/store', data, errorback);
    },
    /*编辑学员*/
    updateUser(data, errorback) {
        return request._post('/shop/user.user/update', data, errorback);
    },
    /*批零上传学员*/
    batchImport(data, errorback) {
        return request._upload('/shop/user.user/batchImport', data, errorback);
    },
    /*获取统计列表*/
    getStatisticsList(data, errorback) {
        return request._postBody('/shop/user.user/statistics', data, errorback);
    },
}
export default StudentApi;